/**
 * ant-design 有自己的 base.less，这里的 base.less
 * import 'antd/dist/antd.css';
 * 请在 antd.css 引入此 base.less
 * @position ./src/assets/css/base.less
 */

@import './_theme.less';
@import './_mixin.less';
@import './common.less';
@import './flex.less';
@import './component/custom-row-selected.less';
@import './component/custom-table-list.less';

/* 设置 body元素 通用属性 */
body {
  // 兼容微软edge placeholder不显示问题
  ::-webkit-input-placeholder {
    opacity: 1;
  }

  // 确保内容不超出时，windows 无滚动条
  overflow: auto;
  background: @body-bg-color;
}

table tr > td {
  word-break: break-word;
}

ul {
  padding: 0;
}

/* 设置 a元素 通用属性 */
a {
  cursor: pointer;
}

.margin-default-loop();

.padding-default-loop();

.margin-little-loop();

.pdding-little-loop();

.margin-middle-loop();

.padding-middle-loop();

.margin-middle-loop();

.margin-big-loop();

.padding-big-loop();

.ant-form-item {
  // margin-bottom: 16px !important;
  .ant-form-item {
    margin-bottom: 0px !important;
  }
}

.ant-form-inline {
  .ant-form-item {
    margin-bottom: 16px !important;
  }
}
